package com.nbsaas.boot.merchant.rest.convert;

import com.nbsaas.boot.merchant.data.entity.MerchantCertification;
import com.nbsaas.boot.merchant.api.domain.response.MerchantCertificationResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 商家认证-实体对象转化成响应对象
*/

public class MerchantCertificationResponseConvert  implements Converter<MerchantCertificationResponse,MerchantCertification> {

    @Override
    public MerchantCertificationResponse convert(MerchantCertification source) {
        MerchantCertificationResponse  result = new  MerchantCertificationResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

